/**
 * api文件
 * @Author: yd_renyuanyu
 * @Date: 2021-11-12 10:48:10
 * @Version: 1.0.0
 */
import request from '@/lib/request';

/* ********** Permissions ********** */
/**
 * --
 * @tips Permissions
 * @tags [Permissions]
 * @param { object } aDataQuery 参数 [Api_GET_PermissionsQO]
  */
export function api_GET_Permissions (aDataQuery) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/permission-management/permissions',
    method: 'get',
    params: aDataQuery
  });
}
/**
 * --
 * @tips Permissions
 * @tags [Permissions]
 * @param { object } aDataQuery 参数 [Api_PUT_PermissionsQO]
 * @param { object } aDataBody 参数 [Api_PUT_PermissionsQO]
  */
export function api_PUT_Permissions (aDataQuery, aDataBody) {
  return request({
    baseURL: WEB_CONFIG.VUE_APP_SWAGGER_BASE,
    url: '/api/permission-management/permissions',
    method: 'put',
    params: aDataQuery,
    data: aDataBody
  });
}
